package com.csdj.s3project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zq
 * @since 2022-01-18
 */
public class Winner implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 获奖人id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 获奖人账号
     */
    private String account;

    /**
     * 奖品
     */
    private String awardName;

    /**
     * 奖品数量
     */
    private Integer awardCount;

    /**
     * 获奖时间
     */
    private LocalDateTime winTime;

    /**
     * 头像路径
     */
    private String headUrl;

    public String getHeadUrl() {
        return headUrl;
    }

    @Override
    public String toString() {
        return "Winner{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", awardName='" + awardName + '\'' +
                ", awardCount=" + awardCount +
                ", winTime=" + winTime +
                ", headUrl='" + headUrl + '\'' +
                '}';
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }
    public String getAwardName() {
        return awardName;
    }

    public void setAwardName(String awardName) {
        this.awardName = awardName;
    }
    public Integer getAwardCount() {
        return awardCount;
    }

    public void setAwardCount(Integer awardCount) {
        this.awardCount = awardCount;
    }
    public LocalDateTime getWinTime() {
        return winTime;
    }

    public void setWinTime(LocalDateTime winTime) {
        this.winTime = winTime;
    }

}
